package cn.edu.fzu.homemaking.company.handler;

import cn.edu.fzu.homemaking.company.domain.entity.CompanyServer;
import cn.edu.fzu.homemaking.company.domain.entity.CompanyUser;
import cn.edu.fzu.homemaking.company.domain.entity.Demand;
import cn.edu.fzu.homemaking.company.domain.entity.Order;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 分配服务员session
 *
 * @author fangxin
 * @date 2023/04/12
 */
public class OrderSession {

    public Order             order;

    public Demand            demand;

    public CompanyServer     server;

    public OrderError        error;

    public List<CompanyUser> companyUsers;

    public static OrderSession build(Order order) {
        OrderSession session = new OrderSession();
        session.order = order;
        return session;
    }

}
